<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CompareValidatorPage.aspx.cs" Inherits="CompareValidatorPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table style="width: 50%">
            <tr>
                <td style="height: 21px" width="35%">
                </td>
                <td style="width: 312px; height: 21px">
                </td>
            </tr>
            <tr>
                <td style="height: 21px" width="35%">
                </td>
                <td style="width: 312px; height: 21px">
                    <asp:Label ID="lblHeader" runat="server" Font-Bold="False" Text="Please enter your current and new password"
                        Width="353px"></asp:Label></td>
            </tr>
            <tr>
                <td align="right" nowrap="nowrap" style="height: 40px" width="35%">
                    <strong>Old Password:</strong></td>
                <td style="width: 312px; height: 40px">
                    <asp:TextBox ID="txtOldPassword" runat="server" TextMode="Password" Width="280px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtOldPassword"
                        ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td align="right" nowrap="nowrap" style="text-align: right" width="35%">
                    <strong>New Password:</strong></td>
                <td style="width: 312px">
                    <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" Width="280px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtPassword"
                        ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td nowrap="nowrap" style="text-align: right" width="35%">
                    <strong>Confirm Password:</strong></td>
                <td style="width: 312px">
                    <asp:TextBox ID="txtRetype" runat="server" TextMode="Password" Width="280px"></asp:TextBox>
                    <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtPassword"
                        ControlToValidate="txtRetype" ErrorMessage="CompareValidator">Please retype your new password</asp:CompareValidator></td>
            </tr>
            <tr>
                <td width="35%">
                </td>
                <td style="width: 312px">
                    <asp:Button ID="btnLogin" runat="server" PostBackUrl="~/JobSeekers/action.aspx" Text="OK"
                        Width="50px" />
                    <input id="btnReset" type="reset" value="Reset" /></td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
